home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Canadian & World Encyclopedia 1998
/
The Canadian & World Encyclopedia 1998 - Disc 2.iso
/
mac
/
prime_CD
/
pb
/
SEE_REL.DIR
/
00012_Script_12
< prev
next >
Wrap
Text File
|
1997-07-25
|
729b
|
27 lines
on mousedown
put the mouseh into oldX
put the mouseV into oldY
put the rect of window "see_related" into orig_rect
repeat while the stillDown
put the mouseh into newX
put the mousev into newY
put newX-oldX into deltaX
put newY-oldY into deltaY
set new_rect = orig_rect
set the left of new_rect = the left of orig_rect + deltaX
set the right of new_rect = the right of orig_rect + deltaX
set the top of new_rect = the top of orig_rect + deltaY
set the bottom of new_rect = the bottom of new_rect + deltaY
set the rect of window "see_related" to new_rect
updateStage()
tell the stage to updateStage()
end repeat
end